﻿<div id="CreateEdit">
<p>
    <a href="#" id="Listar">Voltar a Lista</a>
</p>
    <form method="post" action="Edit" id="CreateEdit_artista">
    <fieldset>
        <input type="hidden" id="Id" name="Id" />
        <legend>Artista</legend>
        <div class="editor-label">
            <label>
                Nome:</label>
        </div>
        <div class="editor-field">
            <input type="text" id="Nome" name="Nome" value="" />
        </div>
        <div class="editor-label">
            <label>
                Sobrenome:</label>
        </div>
        <div class="editor-field">
            <input type="text" id="Sobrenome" name="Sobrenome" value="" />
        </div>
        <p>
            <button type="submit" id="Editar">
                Salvar</button>
        </p>
    </fieldset>
    </form>

   @* @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)
        <fieldset>
            <legend>Artista</legend>
            @Html.HiddenFor(model => model.Id)
            <div class="editor-label">
                @Html.LabelFor(model => model.Nome)
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Nome)
                @Html.ValidationMessageFor(model => model.Nome)
            </div>
            <div class="editor-label">
                @Html.LabelFor(model => model.Sobrenome)
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Sobrenome)
                @Html.ValidationMessageFor(model => model.Sobrenome)
            </div>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>*@

</div>
